package com.vftour.qichongbook.modules.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vftour.qichongbook.framework.mp.service.impl.BaseServiceImpl;
import com.vftour.qichongbook.modules.system.entity.Notice;
import com.vftour.qichongbook.modules.system.mapper.NoticeMapper;
import com.vftour.qichongbook.modules.system.service.INoticeService;
import com.vftour.qichongbook.modules.system.vo.NoticeVO;
import org.springframework.stereotype.Service;

/**
 * 服务实现类
 *
 * @author Chill
 */
@Service
public class NoticeServiceImpl extends BaseServiceImpl<NoticeMapper, Notice> implements INoticeService {

    @Override
    public IPage<NoticeVO> selectNoticePage(IPage<NoticeVO> page, NoticeVO notice) {
        return page.setRecords(baseMapper.selectNoticePage(page, notice));
    }

}
